package org.zxp.designpattern.factory.simplefactory;

import org.zxp.javacheck.enumtest.Color2;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2019-08-20 16:51
 **/
public enum PeopleType {
    MAN("男人"), WOMEN("女人"),OTHER("太监");

    PeopleType(String name) {
        this.name = name;
    }

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
